package com.imageChat.card;

import java.lang.reflect.InvocationTargetException;

import javax.swing.SwingUtilities;

public class Client {
	
	private static Client me = new Client();
	
	private Client() {}
	
	public static Client getInClient(){
		return me;
	}


	public static void main(String[] args) {
		
		final LoginWindow loginWindow = new LoginWindow();
		WindowTest windowTest = new WindowTest();
		
		Runnable runner = new Runnable() {
			
			@Override
			public void run() {
				loginWindow.setVisible(true);
				
			}
		};
		try {
			SwingUtilities.invokeAndWait(runner);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		//windowTest.setVisible(true);
	}
}
